﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.ViewModel;
using System.Collections.ObjectModel;
using Microsoft.Practices.Prism.Modularity;
using System.ComponentModel;
using HSE.Common;

namespace HSE
{
    public class NavigationViewModel : NotificationObject
    {
        private ObservableCollection<ToolBarNaviInfo> _navigationDataSource;
        public ObservableCollection<ToolBarNaviInfo> NavigationDataSource
        {
            get { return this._navigationDataSource; }
            set
            {
                if (this._navigationDataSource != value)
                {
                    this._navigationDataSource = value;
                    this.RaisePropertyChanged("NavigationDataSource");
                }
            }
        }


        private ToolBarNaviInfo _selectNavigation;
        public ToolBarNaviInfo SelectNavigation
        {
            get { return this._selectNavigation; }
            set
            {
                if (this._selectNavigation != value)
                {
                    this._selectNavigation = value;
                    this.RaisePropertyChanged("SelectNavigation");
                }
            }
        }


        public NavigationViewModel()
        {
           
            this.NavigationDataSource = SystemVar.SysNavi;
        }
    }

    
}
